package xyz.ranyh.jobclient.util;

import android.app.AlertDialog;
import android.content.BroadcastReceiver;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.widget.Toast;

import xyz.ranyh.jobclient.AlarmActivity;
import xyz.ranyh.jobclient.MainActivity;

public class OneAlarmReceiver extends BroadcastReceiver {
    public OneAlarmReceiver() {
    }

    @Override
    public void onReceive(Context context, Intent intent) {
        Intent mIntent = new Intent(context, AlarmActivity.class);
        mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
        context.startActivity(mIntent);

    }
}
